import { createRouter, createWebHashHistory } from "vue-router";
import defaultRoutes from "./defaultRoutes";

// 自己定义的router文件导入后，添加到routes数组中
const routes = [...defaultRoutes];

const router = createRouter({
  history: createWebHashHistory(),
  routes: routes,
});

export default router;
